package untiring07.mvc.actions;

import java.io.IOException;
import java.rmi.ServerException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class IndexAction implements ActionHandler {

	@Override
	public String execute(HttpServletRequest req, HttpServletResponse res)
			throws ServerException, IOException {
		
		String viewPage = "f|/WEB-INF/jsp/tiles/mvc.jsp";
		req.setAttribute("action","/WEB-INF/jsp/index.jsp");
		
		return viewPage;
	}

}
